/*------------------------------------*\
    TEMPLATES GLOBAL
\*------------------------------------*/

a {
    color:#353535;
    text-decoration: underline;
}

a:hover {
    color:#000000;
}

div[data-editable="text"] ul,
div[data-editable="text"] ol {
    padding-left: 20px;
}

div[data-editable="text"] ol li,
div[data-editable="text"] ul li {
    margin: 20px 0;
    padding-left: 15px;
}

/* [ Button container ] */
div[data-editable="button"],
div[data-editable="webinarButton"],
div[data-editable="webform"] button,
div[data-editable="webformNewButton"] button {
    background-color:#38e88f;
    color:#000000;
    border-radius: 25px;
    box-shadow: none;
}

/* [ Button text ] */
div[data-editable="button"] button,
div[data-editable="webinarButton"] button,
div[data-editable="webform"] button,
div[data-editable="webformNewButton"] button {
    font-family: 'Lato', Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #000000;
}

/* [ Button :hover ] */
div[data-editable="button"].hover,
div[data-editable="webinarButton"].hover,
div[data-editable="webform"] div[data-type="submit"].hover button,
[data-editable="webformNewButton"].hover button {
    background-color: #4ad38e;
}

div[data-special-hover="dark-s"] {
    background-color: #353535;
}

div[data-special-hover="dark-s"] button {
    color:#ffffff;
}

div[data-special-hover="dark-s"]:hover  {
    color: #ffffff;
    background-color: #000000;
    opacity: 1;
}

div[data-editable="button"].hover button,
div[data-editable="webinarButton"].hover button,
div[data-editable="webform"] div[data-type="submit"].hover button,
[data-editable="webformNewButton"].hover button {
    color: #000000;
}

/* [ Base text ] */
div.text-content,
div[data-editable="webform"] label,
div[data-editable="webform"] input[type="text"],
div[data-editable="webform"] input[type="email"],
div[data-editable="webform"] textarea,
div[data-editable="webform"] select,
div[data-editable="webformNew"] label,
div[data-editable="webformNew"] input[type="text"],
div[data-editable="webformNew"] input[type="email"],
div[data-editable="webformNew"] textarea,
div[data-editable="webformNew"] select,
div[data-editable="webformNew"] .directional,
div[data-editable="webinarNew"] label,
div[data-editable="webinarNew"] input[type="text"],
div[data-editable="webinarNew"] input[type="email"],
div[data-editable="webinarNew"] textarea,
div[data-editable="webinarNew"] select,
div[data-editable="webinarNew"] .directional {
    font-size: 18px;
    font-family: 'Lato', Helvetica, sans-serif;
    color: #000000;
    line-height: 1.3;
}

/* [ Webform text ] */
div[data-editable="webform"] label,
div[data-editable="webform"] input[type="text"],
div[data-editable="webform"] input[type="email"],
div[data-editable="webform"] textarea,
div[data-editable="webform"] select,
div[data-editable="webformNew"] label,
div[data-editable="webformNew"] input[type="text"],
div[data-editable="webformNew"] input[type="email"],
div[data-editable="webformNew"] textarea,
div[data-editable="webformNew"] select,
div[data-editable="webformNew"] .directional,
div[data-editable="webinarNew"] label,
div[data-editable="webinarNew"] input[type="text"],
div[data-editable="webinarNew"] input[type="email"],
div[data-editable="webinarNew"] textarea,
div[data-editable="webinarNew"] select,
div[data-editable="webinarNew"] .directional{
    font-family:'Lato', Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
    color:#373737;
}

/* [ Webform text ] */
div[data-editable="webform"] label,
div[data-editable="webformNew"] label,
div[data-editable="webinarNew"] label {
    font-size: 20px;
}

/* Style placeholder */
div[data-editable="webform"] label,
div[data-editable="webformNew"] label,
div[data-editable="webformNew"] select,
div[data-editable="webformNew"] .directional,
div[data-editable="webinarNew"] .directional {
    color:#aaaaaa;
}

[data-editable="webformNew"] [data-editable-item="label"] label,
[data-editable="webinarNew"] [data-editable-item="label"] label {
    padding: 0 19px;
    color: #aaaaaa;
}

div[data-editable="orderForm"] [data-editable="orderFormItem"] .input-style {
    padding: 17px 0 0 0;
}

/* [ Webform inputs ] */
div[data-editable="webform"] input[type="text"],
div[data-editable="webform"] input[type="email"],
div[data-editable="webform"] textarea,
div[data-editable="webform"] select,
div[data-editable="webformNew"] input[type="text"],
div[data-editable="webformNew"] input[type="email"],
div[data-editable="webformNew"] [data-item-what="phone"] .fix-table-bug,
div[data-editable="webformNew"] textarea,
div[data-editable="webformNew"] select,
div[data-editable="webinarNew"] input[type="text"],
div[data-editable="webinarNew"] input[type="email"],
div[data-editable="webinarNew"] [data-item-what="phone"] .fix-table-bug,
div[data-editable="webinarNew"] textarea,
div[data-editable="webinarNew"] select,
div[data-editable="orderForm"] [data-editable="orderFormItem"] .input-style-container {
    border-radius: 0;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    font-size: 18px;
    padding-left: 10px;
    box-sizing: border-box;
}

div[data-editable="webformNew"] [data-item-what="phone"] input[type="text"],
div[data-editable="webinarNew"] [data-item-what="phone"] input[type="text"] {
    border:none;
}

div[data-editable="webformNew"] .directional::after {
    border-color: #dbdbdb transparent transparent transparent;
}

[data-editable="webformNewItem"].opened .directional::after {
    border-color: transparent transparent #dbdbdb transparent;
}

.custom-form [data-editable="webformNewItem"],
.custom-form [data-editable="webformNewButton"],
.custom-form [data-editable="webformNewItem"] [data-editable-item="label"],
.custom-form [data-editable="webformNewItem"] [data-editable-item="field"] {
    height: 49px;
}

.custom-form [data-editable="webformNewItem"][data-item-name="multi_checkbox"],
.custom-form [data-editable="webformNewItem"][data-item-name="multi_checkbox"] {
    height: auto;
}

.custom-form [data-editable="webformNewItem"] {
    width: 281px;
}

/* PRODUCT LIST */
div[data-editable="productList"] .product-list-content {
    font-family:'Lato', Helvetica, sans-serif;
}
div[data-editable="productList"] .product-list-content-row {
    margin: 7px 0;
}
div[data-editable="productList"] .product-list-content-row:first-child {
    margin-top: 14px;
}
[data-editable="productList"] .no-products {
    font-size: 13px;
    text-align: center;
    padding: 20px;
}
div[data-editable="productList"] .product-list-content-cell label {
    font-weight: 400;
    color: #373737;
    font-size: 16px;
    line-height: 1.8;
    margin-left: 10px;
}

div[data-editable="productList"] .product-list-content-cell:nth-child(2) {
    text-align: right;
    font-weight: 400;
    font-family:'Lato', Helvetica, sans-serif;
    color: #373737;
    font-size: 16px;
    line-height: 1.7;
}
div[data-editable="productList"] .product-list-summary {
    border-top: 2px solid #e7e7e7;
}
div[data-editable="productList"] .product-list-total-price {
    font-size: 22px;
    font-family:'Lato', Helvetica, sans-serif;
    color: #1e2a37;
    font-weight: 400;
    line-height: 2.2;
}


/* Product box */

[data-editable="productsBox"] [data-component-part="products-box-content"] {
    padding: 0px;
}

@supports (display: grid) {
    @media only screen and (min-width: 601px) {
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 100%;
        }

        [data-column-count="2"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 100%;
        }

        [data-column-count="3"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 100%;
        }
    }
}

/* Product box items */
[data-editable="productsBox"] [data-component-part="product-box"] {
    box-shadow: 0px 3px 73px 0px rgba(0, 0, 0, 0.03);
    background-color: #38E88F;
    border: 0;
}

[data-editable="productsBox"] [data-dms-class="product-box-container"] {
    background-color: transparent;
    padding: 20px 20px 45px;
}

[data-editable="productsBox"][data-relative-content="true"] {
    margin-bottom: 0px;
}

[data-editable="productsBox"] [data-component-part="product-name"] .text-content,
[data-editable="productsBox"] [data-component-part="product-name"] .font-styles {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size:24px;
    line-height: 1.2;
    word-break: break-word;
}

[data-editable="productsBox"] [data-component-part="product-event-start-date"] .text-content,
[data-editable="productsBox"] [data-component-part="product-event-start-date"] .font-styles {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #3f434a;
    font-size:18px;
    line-height: 1.7;
}

[data-editable="productsBox"] [data-component-part="product-description"] .text-content,
[data-editable="productsBox"] [data-component-part="product-description"] .font-styles {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #3f434a;
    font-size:18px;
    line-height: 1.7;
}

[data-editable="productsBox"] [data-component-part="product-price"] .text-content,
[data-editable="productsBox"] [data-component-part="product-price"] .font-styles {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size:43px;
    line-height: 1.2;
}

[data-editable="productsBox"] [data-component-part="product-delivery-token-title"] .text-content,
[data-editable="productsBox"] [data-component-part="product-delivery-token-title"] .font-styles {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #3f434a;
    font-size:16px;
    line-height: 1.4;
}

[data-editable="productsBox"] [data-component-part="product-delivery-token"] .text-content,
[data-editable="productsBox"] [data-component-part="product-delivery-token"] .font-styles {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #3f434a;
    font-size:22px;
    line-height: 1.4;
    word-break: break-word;
}

[data-editable='productsBox'] [data-component-part='product-instruction'] .text-content,
[data-editable='productsBox'] [data-component-part='product-instruction'] .font-styles {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #3f434a;
    font-size:14px;
    line-height: 1.3;
    word-break: break-word;
}

[data-editable="productsBox"] [data-component-part="product-logo"] {
    margin-bottom: 15px;
}

[data-editable="productsBox"] [data-component-part="product-name"] {
    margin-bottom: 16px;
}

[data-editable="productsBox"] [data-component-part="product-event-start-date"] {
    margin-bottom: 12px;
}

[data-editable="productsBox"] [data-component-part="product-description"] {
    margin-bottom: 15px;
}

[data-editable="productsBox"] [data-component-part="product-price"] {
    margin-bottom: 15px;
}

[data-editable="productsBox"] [data-component-part="product-delivery-token-title"] {
    margin-bottom: 5px;
}

[data-editable="productsBox"] [data-component-part="product-delivery-token"] {
    margin-bottom: 12px;
}


[data-editable="productsBox"] [data-component-part="product-logo"] {
    margin-top: 0;
}

[data-editable="productsBox"] [data-component-part="product-description"],
[data-editable="productsBox"] [data-component-part="product-price"],
[data-editable="productsBox"] [data-component-part="product-name"],
[data-editable="productsBox"] [data-component-part="product-event-start-date"],
[data-editable="productsBox"] [data-component-part="product-delivery-token-title"],
[data-editable="productsBox"] [data-component-part="product-delivery-token"],
[data-editable="productsBox"] [data-component-part="product-instruction"] {
    text-align: center;
}

[data-editable="productsBox"] div[data-editable="button"] {
    background-color:#585ddb;
    border-radius: 25px;
    margin-left: auto;
}

[data-editable="productsBox"] div[data-editable="button"] button {
    padding: .6em 1.6em;
    font-family: 'Lato', Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

@supports (display: grid) {
    @media only screen and (min-width: 601px) {
        [data-column-count="1"][data-editable="productsBox"] [data-dms-class="product-box-container"] {
            padding: 20px;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-name"] {
            text-align: left;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-description"] {
            text-align: left;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-price"] {
            text-align: left;
        }

        [data-column-count="1"] [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
        [data-editable="productsBox"] [data-component-part="product-link"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-external-url"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-internal-url"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-instruction"] {
            margin: 0;
        }


        [data-column-count="2"][data-editable="productsBox"] div[data-editable="button"] button {
            padding: .7em 1.5em;
        }

        [data-column-count="3"][data-editable="productsBox"] div[data-editable="button"] button {
            padding: .7em 1.5em;
        }
    }
}

@supports (display: grid) {
    [data-editable="productsBox"] [data-dms-class="product-box-container"] {
        grid-template-areas: "logo"
            "name"
            "date"
            "description"
            "price"
            "token-label"
            "token"
            "button";
        grid-template-columns: auto;
        grid-template-rows: auto auto auto 1fr auto  auto auto auto;
        grid-gap: 0;
        justify-items: center;
    }

    [data-editable="productsBox"] [data-component-part="product-logo"] {
        grid-area: logo !important;
    }

    [data-editable="productsBox"] [data-component-part="product-name"] {
        grid-area: name !important;
    }

    [data-editable="productsBox"] [data-component-part="product-event-start-date"] {
        grid-area: date !important;
    }

    [data-editable="productsBox"] [data-component-part="product-description"] {
        grid-area: description !important;
    }

    [data-editable="productsBox"] [data-component-part="product-price"] {
        grid-area: price !important;
    }

    [data-editable="productsBox"] [data-component-part="product-delivery-token-title"] {
        grid-area: token-label !important;
    }

    [data-editable="productsBox"] [data-component-part="product-delivery-token"] {
        grid-area: token !important;
    }

    [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
    [data-editable="productsBox"] [data-component-part="product-link"],
    [data-editable="productsBox"] [data-component-part="product-external-url"],
    [data-editable="productsBox"] [data-component-part="product-internal-url"],
    [data-editable="productsBox"] [data-component-part="product-instruction"] {
        align-self: end;
    }

    [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
    [data-editable="productsBox"] [data-component-part="product-link"],
    [data-editable="productsBox"] [data-component-part="product-external-url"],
    [data-editable="productsBox"] [data-component-part="product-internal-url"],
    [data-editable="productsBox"] [data-component-part="product-instruction"] {
        grid-area: button !important;
    }

    [data-editable="productsBox"] [data-component-part="product-name"],
    [data-editable="productsBox"] [data-component-part="product-event-start-date"],
    [data-editable="productsBox"] [data-component-part="product-description"],
    [data-editable="productsBox"] [data-component-part="product-delivery-token-title"],
    [data-editable="productsBox"] [data-component-part="product-delivery-token"],
    [data-editable="productsBox"] [data-component-part="product-price"] {
        justify-self: stretch;
    }

    [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
    [data-editable="productsBox"] [data-component-part="product-link"],
    [data-editable="productsBox"] [data-component-part="product-external-url"],
    [data-editable="productsBox"] [data-component-part="product-internal-url"],
    [data-editable="productsBox"] [data-component-part="product-instruction"] {
        justify-self: left;
    }

    @media only screen and (min-width: 601px) {
        [data-column-count="1"][data-editable="productsBox"] [data-dms-class="product-box-container"] {
            grid-template-areas:
                "logo name"
                "logo date"
                "logo description"
                "logo price"
                "logo token-label"
                "logo token"
                "logo button";
            grid-template-columns: 220px auto;
            grid-template-rows: auto auto 1fr auto  auto auto auto;
            grid-gap: 0;
            justify-items: center;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-logo"] {
            justify-self: start;
            margin: 0;
        }

        [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
        [data-editable="productsBox"] [data-component-part="product-link"],
        [data-editable="productsBox"] [data-component-part="product-external-url"],
        [data-editable="productsBox"] [data-component-part="product-internal-url"],
        [data-editable="productsBox"] [data-component-part="product-instruction"] {
            align-self: end;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-link"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-event-start-date"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-external-url"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-internal-url"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-instruction"] {
            justify-self: left;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-instruction"] {
            justify-self: stretch;
        }
    }
}

